package com.itheima.Test04;

public class jingli extends yuangong {
    private double money;

    public jingli() {
    }

    public jingli(String id, String name, int age, double money) {
        super(id, name, age);
        this.money = money;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
    @Override
    public void method(String content){
        System.out.println(content);
    }
}
